package com.waterflow.xanner;

import com.waterflow.xanner.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;

public class LauncherActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_launcher);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_start_menu, menu);
        return true;
    }

    public void startGame(View view){
    	Intent intent = new Intent(this, StartGameActivity.class);
    	startActivity(intent);
    }
    
    public void goToSettings(View view) {
    	Intent intent = new Intent(view.getContext(), SettingsActivity.class);
    	startActivity(intent);
    }
    
    public void quit(View view) {
    	this.finish();
    }
}
